package jerry.html.data.accessors;

/**
 * 
 * Handler class for game data save and update
 * 
 * 
 * @author (h0t@_G0|i
 * 
 */
public class GameDataAccessor extends DataAccessor{

	public GameDataAccessor(String utDBDir, String gameFileName) {
		super(utDBDir, "game" + gameFileName.replace("Unreal.ngLog", "").replace(".log", "") + ".db");
	}

	
	public static void main(String[] args) {
		GameDataAccessor gameDataAccessor = new GameDataAccessor("target/", "Unreal.ngLog.2010.12.28.20.56.17.7777.log.temp.clear");
		try {
			gameDataAccessor.getData(null);
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		System.out.println(gameDataAccessor.data);
	}
}
